package com.shopnight.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data

public class ResByIdOrder {
    /**
     * 商品id
     */
    @TableId(type = IdType.AUTO)
    private Long orderId;

    /**
     * 商品名字
     */
    private String orderName;

    //商品描述
    private String orderDescribed;

    /**
     * 价格
     */
    private BigDecimal price;

    //秒杀价格
    private BigDecimal priceSeckill;

    //优惠价
    private BigDecimal priceDiscounts;

    //库存
    private Long  stockCount;

    //秒杀标记
    private Integer seckill;
    /**
     * 销量
     */
    private Long saleCount;

    //所有图片
    private List<String> imgUrls;

    //商品标签
    private List<Tag> orderTags;

    class Tag {
        private String tagKey;
        private String tagValue;
    }


}
